import wiringpi as gpio

i2c_addr = 0x48

gpio.wiringPiSetup()
fd = gpio.pcf8591Setup(65, i2c_addr)

while True:
  analog_value = gpio.analogRead(65)
  print("{:.2f}-----{:.2f}".format(analog_value, analog_value/1024.0*350))
  print('-'*40)
  gpio.delay(1000)

